<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="../core/json2.js"></script>
</head>
<body>
<script type="text/javascript">
var myJSONObject = {"bindings": [
        {"ircEvent": "PRIVMSG", "method": "newURI", "regex": "^http://.*"},
        {"ircEvent": "PRIVMSG", "method": "deleteURI", "regex": "^delete.*"},
        {"ircEvent": "PRIVMSG", "method": "randomURI", "regex": "^random.*"}
    ]
};
//alert(JSON);
var oS1 = JSON.stringify(myJSONObject);
var oJSon1 = JSON.parse(oS1);
console.log(oS1);
console.log(oJSon1);
console.log(oJSon1.bindings);

</script>
</body>
</html>